package demo1;

public class TestThread1 extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println("正在学习=>"+i);
        }
    }

    public static void main(String[] args) {
        TestThread1 thread = new TestThread1();
        //thread.run();
        thread.start();
        for (int i = 0; i < 20; i++) {
            System.out.println("正在看线程==="+i);
        }
    }
}
